package com.nari.interplatform.domain;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "service",namespace="http://www.chinatax.gov.cn/spec/")
public class SwReq {

    private String version;

    private String  xmlns;

    private String xmlnsxsi;
    private SwReqHeader swReqHeader;
    private String body;
    private String sign;
    @XmlAttribute(name = "version")
    public void setVersion(String version) {
        this.version = version;
    }
    @XmlAttribute(name = "xmlns")
    public void setXmlns(String xmlns) {
        this.xmlns = xmlns;
    }
    @XmlAttribute(name = "xmlns:xsi")
    public void setXmlnsxsi(String xmlnsxsi) {
        this.xmlnsxsi = xmlnsxsi;
    }

    @XmlElement(name="head")
    public void setSwReqHeader(SwReqHeader swReqHeader) {
        this.swReqHeader = swReqHeader;
    }
    @XmlElement(name="body")
    public void setBody(String body) {
        this.body = body;
    }
    @XmlElement(name="sign")
    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getVersion() {
        return version;
    }

    public String getXmlns() {
        return xmlns;
    }

    public String getXmlnsxsi() {
        return xmlnsxsi;
    }

    public SwReqHeader getSwReqHeader() {
        return swReqHeader;
    }

    public String getBody() {
        return body;
    }

    public String getSign() {
        return sign;
    }
}
